<%--
  Created by IntelliJ IDEA.
  User: HUAWEI
  Date: 2023/12/7
  Time: 21:54
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<html>
<head>
    <title>内容</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css">
    <link rel="stylesheet" href="css/new.css">

    <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.slim.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.bundle.min.js"></script>
</head>
<body>
<%-- 整个页面 --%>
<div class=".container-fluid" style="background: conic-gradient(from 45deg, #4e6279, #fcfcfc,#476995,#61a8bd,#9b9292)">

    <%-- 页面上部 --%>
    <%@ include file="banner.jsp" %>
    <%@ include file="header.jsp" %>

<div class="container">
    <div class="row">
        <div class="col">
            <div class="shadow p-1 mb-5 bg-white rounded">
                <%--遍历出集合中的对象调用对象里面相对应的属性--%>
                <div class="p-1 mb-2 bg-danger text-white">${newsData.newsTitle}</div>
                    <p>发布时间${newsData.newsDate}</p>
                <%--<%=session.getAttribute("l")%>--%>
                ${newsData.newsContent}
            </div>
        </div>
    </div>
</div>
        <%@ include file="bottom.jsp" %>
        <%@ include file="footer.jsp" %>
</body>
</html>

